﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WalkingTec.Mvvm.Core;

namespace SelfService.Model.Models
{
    public class SysPatientLog : TopBasePoco
    {
        [Display(Name = "患者")]
        public SysPatient Patient { get; set; }

        [Display(Name = "患者")]
        public Guid PatientId { get; set; }

        [Display(Name = "身份证号码")]
        [StringLength(64)]
        public string IdCardNo { get; set; }

        [Display(Name = "业务")]
        [StringLength(64)]
        public string Action { get; set; }

        [Display(Name = "金额")]
        [Column(TypeName = "decimal(10,2)")]
        public decimal Amount { get; set; }

        [Display(Name = "业务时间")]
        public DateTime CreateTime { get; set; }
    }
}
